package com.jojo.yaml;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = "classpath:constant.yaml")
@Component
public class Constant {
    @Value("${url}")
    public String url;

    @Value("${cartApi}")
    public String cartApi;

    @Value("${chooseApi}")
    public String chooseApi;

    @Value("${simulateApi}")
    public String simulateApi;

    @Value("${submitApi}")
    public String submitApi;
}
